.clearFix(){
  *zoom:1;
  &:after{
    content: '';
    display: block;
    clear: both;
  }
}
/* 头部导航区域 */
.nav{
  width: 100%;
  height: 115px;
  background-color: #f0f3f5;
  .nav-wrap{
    width: 100%;
    height: 74px;
    border-bottom: 1px solid #e5ebe4;
    .nav-primary{
      width: 1040px;
      height: 60px;
      margin: 0 auto;
      padding: 10px 0 5px;
      .nav-logo{
        float: left;
        height: 100%;
        width: 145px;
        background: url(//img3.doubanio.com/dae/accounts/resources/19870c3/movie/assets/lg_movie_a12_2.png) no-repeat 0 12px;
        margin-right: 13px;
        cursor: pointer;
        a{
          margin-left: -999px;
        }
      }
      .nav-search{
        position: relative;
        float: left;
        legend{
          display: none;
        }
        .inp{
          float: left;
          width: 470px;
          height: 34px;
          text-align: center;
          margin-right: -3px;
          cursor: text;
          input{
            margin-top: 10px !important;
            background:#fff;
            width: 96%;
            margin: 0;
            height: 30px;
            padding-left: 10px;
            outline: none;
            border: none;
            font-size: 13px;
            vertical-align:middle;
            border-radius: 3px;
          }
        }
        .inp-btn{
          float: left;
          width: 37px;
          height: 34px;
          position: absolute;
          left:466px;
          top:9px;

          input{
            width: 100%;
            height: 100%;
            font-size: 0;
            padding: 35px 0 0 0;
            border: none;
            outline: none;
            background: url(//img3.doubanio.com/dae/accounts/resources/19870c3/movie/assets/nav_mv_bg.png?s=1) no-repeat 0 -40px;
          }
        }
      }
    }
  }
  .nav-secondary{
    width: 1040px;
    margin: 0 auto;
    height: 40px;
    font-size: 14px;
    position: relative;
    .nav-items{
      margin-top: 10px;
      ul{
        display: flex;
        flex-direction: row;
        li{
          margin-right: 30px;
          color: #1f6ca0;
          cursor: pointer;
        }
        li:hover{
          background-color: #1f6ca0;
          color: white;
        }
      }
    }
    .movieannual{
      position: absolute;
      top: -74px;
      right: 134px;
      display: block;
      width: 186px;
      height: 96px;
      background: url(//img3.doubanio.com/dae/accounts/resources/19870c3/movie/assets/annual_2019.png) center/contain no-repeat;
    }
  }
}

/* 内容区域 */
.wrapper{
  width: 1040px;
  margin: 0 auto;
  overflow:hidden;
  .content{
    .clearFix();
    margin-top: 40px;
    .article{
      float: left;
      .hot-show{
        width: 675px;
        height: 324px;
        .hot-show-header{
          position: relative;
          width: 100%;
          height: 36px;
          line-height: 36px;
          border-bottom: 1px solid #eaeaea;
          margin-bottom: 18px;
          h2{
            float: left;
            margin-right: 18px;
          }
          >span{
            float: left;
            margin-right: 15px;
            a{
              color: #37a;
              text-decoration: none;
            }
          }
          .slide-tip{
            float: right;
            margin-right: 10px;
          }
          .slide-control{
            float: right;
          }
          .slide-control{
            .clearFix();
            position: relative;
            top:50%;
            right: 0px;
            margin-top: -9px;
            .prev-btn{
              float: left;
              .btn-prev{
                display: block;
                width: 18px;
                height: 18px;
                cursor: pointer;
                margin-right: 5px;
                background: url(https://img3.doubanio.com/f/movie/708be21a7bb2d0f21419dc4e2e2fde8b21ad661a/pics/movie/slide_swithc_2.png) no-repeat
              }
            }
            .next-btn{
              float: left;
              .btn-next{
                display: block;
                width: 18px;
                height: 18px;
                cursor: pointer;
                background: url(https://img3.doubanio.com/f/movie/708be21a7bb2d0f21419dc4e2e2fde8b21ad661a/pics/movie/slide_swithc_2.png) no-repeat -18px 0px
              }
            }
          }
          
        }
        .hot-show-content{
          display: flex;
          width: 100%;
          height: 270px;
          ul{
            width: 115px;
            height: 250px;
            margin-right: 25px;
            li{
              text-align: center;
              margin-bottom: 10px;
            }
            .poster{
              img{
                width: 115px;
              }
            }
            .rating{
              display: flex;
              margin-left: 15px;
              .rating-star{
                display: block;
                width: 55px;
                height: 11px;
                margin-right: 5px;
                background: url(https://img3.doubanio.com/f/shire/b8f4c3672ef81106701071831e22422a745d3b74/pics/rating_icons/ic_rating_s.png) no-repeat 0 0px;
              }
            }
            .ticket_btn{
              span{
                display: block;
                margin: 0 auto;
                width: 90px;
                height: 24px;
                line-height: 24px;
                background-color: #268dcd;
                border-radius: 2px;
                a{
                  text-decoration: none;
                  color: #fff;
                }
              }
            }
          }
        }
      }
      /* 最近热门电影块 */
      .hot-movie{
        margin-top: 55px;
        .hot-movie-header{
          display: flex;
          flex-direction: row;
          border-bottom: 1px solid #eaeaea;
          padding-bottom: 12px;
          h2{
            margin-right: 15px;
          }
          ul{
            display: flex;
            flex-direction: row;
            margin-right: 190px;
            li{
              margin-right: 15px;
              vertical-align: top;
              a{
                text-decoration: none;
                font-size: 13px;
              }
            }
          }
          span{
            a{
              text-decoration: none;
              font-size: 13px;
            }
          }
        }
        .hot-movie-content{
          width: 675px;
          height: 426px;
          ul{
            display: flex;
            flex-wrap: wrap;
            margin-top: 20px;
            li{
              word-wrap: break-word;
              width: 115px;
              height: 210px;
              margin: 0 20px 10px 0;
              img{
                height: 161px;
              }
              .movie-info{
                display: flex;
                text-indent: 1em;
                div{
                  margin: 0 auto;
                  strong{
                    color: orange;
                  }
                }
              }

            }
          }
        }

      }

      /* 热门推荐轮播图 */
      .hot-recommend{
        width: 675px;
        height: 293px;
        .hot-recommend-header{
          h2{
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #eaeaea;
          }
        }
        .hot-recommend-content{
          height: 240px;
          background-color: #f9f9f9;
          display: flex;
          .right{
            margin: 50px auto;
          }
        }
      }

      /* 最受欢迎的影评 */
      .popular-review{
        height: 531px;
        width: 675px;
        .popular-review-header{
          display: flex;
          border-bottom: 1px solid #eaeaea;
          height: 40px;
          line-height: 40px;
          h2{
            margin-right: 10px;
          }
          a{
            margin-right: 10px;
          }
        }
        .popular-review-content{
          height: 143px;
          display: flex;
          border-bottom: 1px solid #eaeaea;
          .left{
            margin-top: 15px;
            a{
              img{
                width: 68px;
              }
            }
          }
          .right{
            width: 592px;
            margin-left: 12px;
            .title{
              a{
                h3{
                  height: 43px;
                  line-height: 43px;
                }
              }
            }
            .comment{
              padding: 5px 0;
              span{
                color: #666;
              }
              i{
                color: #666;
              }
              strong{
                color: #666;
              }
            }
          }
        }
      }

    }

    /* 右侧列表区域 */
    .aside{
      // background-color: orange;
      float: right;
      width: 300px;
      height: 964px;
      // background-color: pink;
      .rating-answer{
        background-color: #f2f7f6;
        width: 282px;
        margin: 0 0 20px;
        padding: 12px 0 12px 18px;
        border-radius: 4px;
        line-height: 1.5;
      }
      .week-list{
        margin-bottom: 50px;
        .week-list-header{
          .clearFix();
          padding-bottom: 20px;
          border-bottom: 1px solid #eaeaea;
          h2{
            float: left;
          }
          span{
            float: left;
            margin-left: 10px;
            line-height: 20px;
          }
        }
        .ween-list-content{
          table{
            border-collapse: collapse;
            border: none;
            padding: 0;
            margin: 0;
            border-spacing: 0;
            td{
              padding:7px 0;
              a{
                color: #37a;
              }
            }
          }
        }
      }
      .popular-beans-list{
        width: 300px;
        height: 87px;
        h2{
          display: block;
          height: 20px;
          line-height: 20px;
          border-bottom: 1px solid #eaeaea;
          padding-bottom: 10px;
        }
        ul{
          height: 53px;
          line-height: 53px;
          border-bottom: 1px solid #eaeaea;
          li{
            .title{
              float: left;
              a{
                color: #37a;
              }
            }
            span{
              float: right;
              .recomment-num{
                color: #999;
              }
            }
          }
        }
      }
      .cooperation{
        display: block;
        width: 300px;
        line-height: 35px;
        margin-top: 40px;
        h2{
          border-bottom: 1px solid #eaeaea;
        }
        .email-info{
          margin-top: 5px;
          ul{
            li{
              img{
                vertical-align: middle;
                height: 14px;
              }
            }
          }
        }
      }
      .about{
        display: block;
        width: 300px;
        height: 137px;
        line-height: 35px;
        margin-top: 40px;
        h2{
          padding-top: 10px;
          border-bottom: 1px solid #eaeaea;
        }
        ul{
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          padding: 20px 10px;
          li{
            display: block;
            width: 40px;
            height: 40px;
            .icon-weibo{
              display: block;
              width: 100%;
              height: 100%;
              background: url(https://img3.doubanio.com/f/movie/8f5f3bdbdc71bfd34eef8e3f16d13c857e59301b/pics/movie/home_weibo.png) no-repeat;
            }
            .icon-wechat{
              display: block;
              width: 100%;
              height: 100%;
              background: url(https://img3.doubanio.com/f/movie/5d377d72b39a5cd2532813d1e42da3f34438a465/pics/movie/home_weixin.png) no-repeat;
            }
            .icon-banzui{
              display: block;
              width: 100%;
              height: 100%;
              background: url(https://img3.doubanio.com/f/movie/8cf33706051d29ae3cf98091070f0ec2481959ed/pics/movie/bite_me@2x.jpg) no-repeat;
              background-size: contain;
            }
            .icon-yingren{
              display: block;
              width: 100%;
              height: 100%;
              background: url(https://img3.doubanio.com/f/movie/58304d3dae0aa268f2ba8e6ba4cd3a57a999d6fb/pics/movie/home_film_pro@2x.jpg) no-repeat;
              background-size: contain;
            }
            .icon-club{
              display: block;
              width: 100%;
              height: 100%;
              background: url(https://img3.doubanio.com/f/movie/cab17c6de1bfdaf598c9ae235738e20022f49e23/pics/movie/home_club@2x.jpg) no-repeat;
              background-size: contain;
            }

          }
        }
      }
    }
  }

  /* footer */
  .footer{
    // background-color: pink;
    height: 32px;
    line-height: 32px;
    color: #999;
    padding: 6px 0;
    margin-top: 40px;
    border-top: 1px dashed #ddd;
    .left{
      float: left;
    }
    .right{
      float: right;
      color: #999;
      a{
        cursor: pointer;
        text-decoration: none;
        color: #37C;
      }
      a:hover{
        background-color: #37C;
      }
      

    }
  }
}

